package com.skivingcloud.admin.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 系统验证码
 * </p>
 *
 * @author skivingcloud
 * @since 2022-01-28
 */
@TableName("sys_captcha")
@ApiModel(value = "SysCaptcha对象", description = "系统验证码")
public class SysCaptcha implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("uuid")
    private String uuid;

    @ApiModelProperty("验证码")
    private String code;

    @ApiModelProperty("过期时间")
    private LocalDateTime expireTime;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public LocalDateTime getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(LocalDateTime expireTime) {
        this.expireTime = expireTime;
    }

    @Override
    public String toString() {
        return "SysCaptcha{" +
            "uuid=" + uuid +
            ", code=" + code +
            ", expireTime=" + expireTime +
        "}";
    }
}
